package com.example.springstudy.service;

import com.example.springstudy.dao.dbo.MenuInfo;
import com.example.springstudy.entity.Menu;

import java.util.List;

public interface MenuService {

    List<Menu> listMenus();

    List<MenuInfo> listMenusByPage(int page, int size);

    boolean addMenu(Menu menu);

    boolean deleteMenu(int menuId);
}
